package com.ksyun.campus.dataserver;

import com.ksyun.campus.dataserver.config.dataserverconfig.DataServerConfigProperties;
import com.ksyun.campus.dataserver.config.zookperconfig.ZookeeperConfigProperties;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.ImportAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Import;
import org.springframework.scheduling.annotation.EnableScheduling;

@Slf4j
@SpringBootApplication
@Import({
        ZookeeperConfigProperties.class,
        DataServerConfigProperties.class,
})
@EnableScheduling
public class DataServerApplication {
    public static void main(String[] args) {
        SpringApplication.run(DataServerApplication.class, args);
    }
}
